<template>
    <div>
        <RouterView />
        <van-tabbar v-model="active" router>
            <van-tabbar-item icon="home-o" to="/home_one">首页</van-tabbar-item>
            <van-tabbar-item icon="search" to="/video_one">视频</van-tabbar-item>
            <van-tabbar-item icon="friends-o" to="/message_one">消息</van-tabbar-item>
            <van-tabbar-item icon="setting-o" to="/mine_one">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script lang="ts" setup>
import { RouterView } from 'vue-router';
import { ref } from 'vue';
import axios from 'axios';


const active = ref(0);



</script>

<style lang="scss" scoped>


</style>